package com.taol.tab_05_indent_fragment;

import com.taol.ataoloveapp.R;
import com.taol.tab_05_indent.GetIndentInfo1;
import com.taol.tab_05_indent.GetIndentInfo3;
import com.taol.tab_05_indent.IndentAdapter1;
import com.taol.tab_05_indent.IndentAdapter3;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ListView;

public class FragmentTab3 extends Fragment{
	
	private ListView lv3;
	private IndentAdapter3 myIndentAdapter3;
	
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		View view = inflater.inflate(R.layout.indent_tab3, container,false);
		
		GetIndentInfo3.getIndentInfo(getActivity());
		myIndentAdapter3 = new IndentAdapter3(GetIndentInfo3.lvIndents,getActivity());
		lv3 = (ListView)view.findViewById(R.id.indentLv3);
		lv3.setAdapter(myIndentAdapter3);
		
		return view;
	}

}
